package com.ruoyi.hospital.mapper.shop;

import java.util.List;
import com.ruoyi.hospital.domain.shop.ShopProductCategory;

/**
 * 商品分类Mapper接口
 * 
 * @author wendao
 * @date 2024-08-16
 */
public interface ShopProductCategoryMapper 
{
    /**
     * 查询商品分类
     * 
     * @param id 商品分类主键
     * @return 商品分类
     */
    public ShopProductCategory selectShopProductCategoryById(Integer id);

    /**
     * 查询商品分类列表
     * 
     * @param shopProductCategory 商品分类
     * @return 商品分类集合
     */
    public List<ShopProductCategory> selectShopProductCategoryList(ShopProductCategory shopProductCategory);

    /**
     * 新增商品分类
     * 
     * @param shopProductCategory 商品分类
     * @return 结果
     */
    public int insertShopProductCategory(ShopProductCategory shopProductCategory);

    /**
     * 修改商品分类
     * 
     * @param shopProductCategory 商品分类
     * @return 结果
     */
    public int updateShopProductCategory(ShopProductCategory shopProductCategory);

    /**
     * 删除商品分类
     * 
     * @param id 商品分类主键
     * @return 结果
     */
    public int deleteShopProductCategoryById(Integer id);

    /**
     * 批量删除商品分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopProductCategoryByIds(Integer[] ids);
}
